<?php /* Smarty version 2.6.16, created on 2013-09-10 13:53:27
         compiled from ../templates/admin/nab/editnab.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo '<script type="text/javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/admin/editpaypal.js"></script>'; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

 <div class="contain">
 
      <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['left_menu'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
      
      <div class="right_contain">
        
         <div class="heading_box">Edit NAB Settings</div>
         <div class="whitebox">
         <span>
         	<a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=nab" class="rF"><strong>Back</strong></a>
		</span>
         <!--Message Div Start-->
         <?php if ($this->_tpl_vars['msg']): ?>
         <div class="masg_div">
           <?php echo $this->_tpl_vars['msg']; ?>

         </div>
         <?php endif; ?>
         <!--Message Div End-->
         
         <div style="min-height:250px;">
          <!--Form Contain start-->
         <form name="frmpaypalDetails" id="frmpaypalDetails" action="" method="post" > 
           <div class="form_fieldbox">
             <dl>
              <dt>Merchant ID:</dt>
              <dd>
              <input type="text" name="merchant_id" id="merchant_id" value="<?php echo $this->_tpl_vars['NabArray']['merchant_id']; ?>
"  class="input"/></dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>Password:</dt>
              <dd>
              <input type="text" name="merchant_password" id="merchant_password" value="<?php echo $this->_tpl_vars['NabArray']['merchant_password']; ?>
" class="input"  /></dd>
              <div class="clear"></div>
             </dl>
                          
             <dl>
              <dt>Payment Mode:</dt>
              <dd>
              	<select name="mode">
                	<option value="1">Live</option>
                	<option value="0">Test</option>
                </select>
              	
              </dd>
              <div class="clear"></div>
             </dl>

			<dl>
              <dt>Live URL:</dt>
              <dd>
              <input type="text" name="live_url" id="live_url" value="<?php echo $this->_tpl_vars['NabArray']['live_url']; ?>
"  class="input" style="width:500px"/></dd>
              <div class="clear"></div>
             </dl>
             
             
             <dl>
              <dt>Test URL:</dt>
              <dd>
              <input type="text" name="test_url" id="test_url" value="<?php echo $this->_tpl_vars['NabArray']['test_url']; ?>
"  class="input" style="width:500px"/></dd>
              <div class="clear"></div>
             </dl>

			<dl>
              <dt>Enable:</dt>
              <dd>
              	<select name="published">
                	<option value="1">Yes</option>
                	<option value="0">No</option>
                </select>
              	
              </dd>
              <div class="clear"></div>
             </dl>
			 
             
              <dl>
              <dt>Tax (%):</dt>
              <dd>
              <input type="text" name="tax" id="tax" value="<?php echo $this->_tpl_vars['NabArray']['tax']; ?>
"  class="input" style="width:500px"/></dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Invoice Format:</dt>
              <dd>
              <input type="text" name="invoice_format" id="invoice_format" value="<?php echo $this->_tpl_vars['NabArray']['invoice_format']; ?>
"  class="input" style="width:500px"/></dd>
              <div class="clear"></div>
             </dl>
			 
              <dl>
              <dt>Company Name:</dt>
              <dd>
              <textarea name="company_name" cols="70" rows="5" class="input" ><?php echo $this->_tpl_vars['NabArray']['company_name']; ?>
</textarea>
				</dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>Payment For:</dt>
              <dd>
              <textarea name="payment_for" cols="70" rows="5" class="input" ><?php echo $this->_tpl_vars['NabArray']['payment_for']; ?>
</textarea>
				</dd>
              <div class="clear"></div>
             </dl>
             
             <dl>
              <dt>&nbsp;</dt>
              <dd>
              <input type="submit" value="Update" name="update" class="admin_btn" />&nbsp;<input type="button" value="Cancel" name="cancel" class="admin_btn" onclick="window.location='<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/home.php?q=nab';"/>
              </dd>
              <div class="clear"></div>
             </dl>
            </div>
</form>
            
            <!--Form Contain end--> 
           
  
         </div>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>